// 基础数据类型
// 布尔值
const isDone: boolean = false;
// 数字
// 1.10进制
const decLiteral: number = 6;
// 2.16进制
const hexLiteral: number = 0xf00d;
// 3.2进制
const binaryLiteral: number = 0b1010;
// 4.8进制
const octalLiteral: number = 0o744;
// 字符串
let userName: string = 'bob';
userName = 'jake';
// 模板字符串1
const userName2: string = `lucy`;
const age: number = 20;
const sentence: string = `Hello, my name is ${userName2}.I'll be ${age + 1} years old next month.`;
